using GameFramework;

namespace StarForce
{
    public class HpTextData : IReference
    {

        private int m_Type;

        private int m_Num;

        /// <summary>
        /// 飘字类型
        /// </summary>
        public int Type
        {
            get { return m_Type; }
            set { m_Type = value; }
        }

        /// <summary>
        /// 飘字数值
        /// </summary>
        public int Num
        {
            get { return m_Num; }
            set { m_Num = value; }
        }


        public HpTextData  Fill(int type, int num)
        {
            m_Type = type;
            m_Num = num;

            return this;
        }

        public void Clear()
        {
            m_Type = 0;
            m_Num = 0;
        }
    }
}